//==============================================================================
#ifndef _GAMEEVENT_H_
#define _GAMEEVENT_H_

#pragma once
#include <string>
#include <list>

using namespace std;
//==============================================================================
enum EventType
{
	UNKNOWN_GAMEEVENT_TYPE,
	KILL,
	MOVE_UP_ON,
	MOVE_UP_OFF,
	MOVE_DOWN_ON,
	MOVE_DOWN_OFF,
	ROT_LEFT_ON,
	ROT_LEFT_OFF,
	ROT_RIGHT_ON,
	ROT_RIGHT_OFF,
	SHOOT
};

class GameEvent
{
public:
	GameEvent(void);
	GameEvent(EventType, int sourceId);
	virtual ~GameEvent(void);
	EventType getType(void);
	void setSourceID(int id);
	int getSourceID(void);
	void setType(EventType e);

protected:
	EventType type;
	int sourceID;
};

#endif;
